package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class Stadium {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer typeId;
    private String stadiumName;
    private String stadiumPeople;
    private String stadiumOrder;
    private String stadiumMiao;
    private double stadiumPrice;
    private double stadiumCharity;
    private Integer descriptionId;
    private Integer userId;

    @TableField(exist = false)
    private String descriptionName;

    @TableField(exist = false)
    private String typeName;

    @TableField(exist = false)
    private List<Image> imageList;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private String username;

    @TableField(exist = false)
    private String roleName;
}
